import request from "@/utils/axiosHttp";

// 店铺下拉列表
export function StoresList(query) {
	return request({
		url: '/deviceStores/queryList',
		method: 'get',
		params: query
	})
}

// 获取配置
export function deviceRechargeConfigList(query) {
	return request({
		url: '/deviceRechargeConfig/queryList',
		method: 'get',
		params: query
	})
}

//新增配置
export function deviceRechargeConfigInsert(data) {
	return request({
		url: '/deviceRechargeConfig/insert',
		method: 'post',
		data: data
	})
}

//编辑配置
export function deviceRechargeConfigUpdate(data) {
	return request({
		url: '/deviceRechargeConfig/update',
		method: 'post',
		data: data
	})
}

//删除配置
export function deviceRechargeConfigDelete(data) {
	return request({
		url: '/deviceRechargeConfig/delete',
		method: 'post',
		data: data
	})
}


//恢复默认配置
export function deviceRechargeResetConfig(data) {
	return request({
		url: '/deviceRechargeConfig/resetConfig',
		method: 'post',
		data: data
	})
}


